doctype html
html
  head
    title #{title} | NodObjC v#{package.version}
    meta(http-equiv='Content-Type', content='text/html; charset=UTF-8')
    link(href='assets/styles.css', rel='stylesheet')
    link(href='assets/ir_black.css', rel='stylesheet')
    script(src='assets/jquery-1.7.1.js', type='text/javascript')
    script(src='assets/script.js', type='text/javascript')

  body
    #content
      a(href='index.html', id='title')
        h1= package.name
        h3 The NodeJS &#8646; Objective-C Bridge
      .toc
        each page in pages
          span.page
            a(href=page + '.html')= page
      h2= title

      each part in input
        if (!part.ignore)
          .part
            if (part.ctx && /method|function/.test(part.ctx.type))
              if (part.ctx.receiver == 'proto')
                h3 #{title}##{part.ctx.name}()
              else
                h3 #{part.ctx.string}
            .desc
              if (part.isPrivate)
                .private
                  .caution
                  | This is a private #{part.ctx.type} used internally by 
                  code NodObjC
                  | . You should <b>not</b> need to use this #{part.ctx.type} in
                  | your code.
              | !{part.description.full.replace(/\<br \/\>/g, ' ')}
            if (part.code)
              button.show-code Show Code
              pre.code
                code!= part.code

    #footer
      | NodObjC &copy; 2011-2012 Nathan Rajlich. Documentation generated by 
      a(href='https://github.com/visionmedia/dox') dox
      | .

    a(href='http://github.com/TooTallNate/NodObjC')
      img(id='ribbon', src='https://a248.e.akamai.net/camo.github.com/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67', alt='Fork me on GitHub')
